package a.f.d.a;

import a.c.e;
import a.c.v;
import a.d.w;
import a.f.cd;
import a.f.o;
import a.i.l;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;

final class cc
{
  public static final byte a = -2;
  public static final byte b = -1;
  public static final byte c = 0;
  public static final byte d = 1;
  private final Comparator e;
  private final Comparator f;
  private final Comparator g;
  private final Comparator h;
  private final Comparator i;
  private final Comparator j;
  private final int[] k;
  public static final byte l = 0;
  public static final byte m = 1;
  public static final byte n = 2;
  public static final byte p = 3;
  public static final byte q = 0;
  public static final byte r = 1;
  public static final byte s = 3;
  
  public static cc a(int[] paramArrayOfInt1, int[] paramArrayOfInt2, byte[] paramArrayOfByte1, int[] paramArrayOfInt3, byte[] paramArrayOfByte2, int[] paramArrayOfInt4, byte paramByte1, byte paramByte2)
  {
    boolean bool2 = d.R;
    boolean bool1 = d.Q;
    Object localObject1;
    Object localObject2;
    switch (paramByte1)
    {
    case 1: 
    default: 
      localObject1 = new f_(paramArrayOfByte1);
      localObject2 = new f_(paramArrayOfByte2);
      if (!bool2) {
        if (!bool1) {
          break;
        }
      }
      break;
    case 2: 
      localObject1 = new h_(paramArrayOfByte1);
      localObject2 = new h_(paramArrayOfByte2);
      if (!bool2) {
        if (!bool1) {
          break;
        }
      }
      break;
    case 0: 
      localObject1 = new r_(paramArrayOfByte1);
      localObject2 = new r_(paramArrayOfByte2);
      if (!bool2) {
        if (!bool1) {
          break;
        }
      }
      break;
    case 3: 
      localObject1 = new g_(paramArrayOfByte1);
      localObject2 = new g_(paramArrayOfByte2);
    }
    Object localObject3;
    Object localObject4;
    switch (paramByte2)
    {
    case 1: 
      localObject3 = new d_(paramArrayOfInt3);
      localObject4 = new d_(paramArrayOfInt4);
      if (!bool1) {
        break;
      }
    case 0: 
    case 2: 
    default: 
      localObject3 = new t_(paramArrayOfInt3);
      localObject4 = new t_(paramArrayOfInt4);
      if (!bool1) {
        break;
      }
    case 3: 
      localObject3 = new q_(paramArrayOfInt3);
      localObject4 = new q_(paramArrayOfInt4);
    }
    return new cc(paramArrayOfInt1, new i_(paramArrayOfInt1), new j_(paramArrayOfInt2), (Comparator)localObject1, (Comparator)localObject3, (Comparator)localObject2, (Comparator)localObject4);
  }
  
  public static cc a(o paramo, ac paramac, bc parambc, int[] paramArrayOfInt1, int[] paramArrayOfInt2, byte[] paramArrayOfByte1, int[] paramArrayOfInt3, byte[] paramArrayOfByte2, int[] paramArrayOfInt4, byte paramByte1, byte paramByte2)
  {
    boolean bool2 = d.R;
    boolean bool1 = d.Q;
    a.c.d[] arrayOfd = new a.c.d[paramo.l()];
    ArrayList localArrayList1 = new ArrayList(31);
    ArrayList localArrayList2 = new ArrayList(31);
    ArrayList localArrayList3 = new ArrayList(31);
    p_ localp_1 = new p_(paramo, true, true);
    p_ localp_2 = new p_(paramo, true, false);
    p_ localp_3 = new p_(paramo, false, true);
    p_ localp_4 = new p_(paramo, false, false);
    if (!bool2) {
      if (paramArrayOfByte1 == null) {
        paramArrayOfByte1 = new byte[paramo.m()];
      }
    }
    if (!bool2)
    {
      Arrays.fill(paramArrayOfByte1, (byte)-2);
      if (paramArrayOfInt4 == null) {
        paramArrayOfInt3 = new int[paramo.m()];
      }
    }
    if (!bool2) {
      if (paramArrayOfByte2 == null) {
        paramArrayOfByte2 = new byte[paramo.m()];
      }
    }
    Arrays.fill(paramArrayOfByte2, (byte)-2);
    if ((bool2) || (paramArrayOfInt4 == null)) {
      paramArrayOfInt4 = new int[paramo.m()];
    }
    int i1 = 0;
    label284:
    label296:
    label370:
    label1013:
    do
    {
      if (i1 >= paramac.a()) {
        break;
      }
      vb localvb = paramac.a(i1);
      int i2 = 0;
      v localv = localvb.c().f();
      do
      {
        if (localv == null) {
          break label1580;
        }
        e locale = (e)localv.c();
        int i3 = locale.f();
        paramArrayOfInt1[i3] = i1;
        paramArrayOfInt2[i3] = i2;
        localArrayList1.clear();
        localArrayList2.clear();
        int i4;
        int i9;
        a.c.d locald3;
        double d3;
        int i6;
        double d2;
        do
        {
          localArrayList3.clear();
          i4 = locale.c() + 1;
          if (bool1) {
            break label1588;
          }
          a.c.d locald1 = locale.h();
          if (locald1 != null) {}
          cd localcd;
          do
          {
            int i7 = locald1.d();
            localcd = parambc.a(locald1).d();
            if (bool2) {
              break label284;
            }
            if (bool1) {
              break;
            }
            if (localcd != null)
            {
              if (bool2) {
                break label370;
              }
              if (!localcd.g()) {}
            }
            else
            {
              paramArrayOfByte1[i7] = -2;
              if (bool2) {
                break label562;
              }
              if (!bool1) {
                break label553;
              }
            }
            if ((bool2) || (localcd != null))
            {
              if (!bool2) {
                if (!localcd.a())
                {
                  if (!bool2) {
                    if (localcd.e())
                    {
                      paramArrayOfByte1[i7] = 1;
                      if (bool2) {
                        break label562;
                      }
                      if (!bool1) {
                        break label553;
                      }
                    }
                  }
                  if (!bool2)
                  {
                    if (localcd.f())
                    {
                      paramArrayOfByte1[i7] = -1;
                      if (bool2) {
                        break label562;
                      }
                      if (!bool1) {
                        break label553;
                      }
                    }
                    paramArrayOfByte1[i7] = 0;
                  }
                  if (bool2) {
                    break label562;
                  }
                  if (!bool1) {
                    break label553;
                  }
                }
              }
              if (!bool2) {
                if (localcd.e())
                {
                  paramArrayOfByte1[i7] = 1;
                  localArrayList1.add(locald1);
                  if (bool2) {
                    break label562;
                  }
                  if (!bool1) {
                    break label553;
                  }
                }
              }
              if (!bool2)
              {
                if (localcd.f())
                {
                  paramArrayOfByte1[i7] = -1;
                  localArrayList2.add(locald1);
                  if (bool2) {
                    break label562;
                  }
                  if (!bool1) {}
                }
                else
                {
                  paramArrayOfByte1[i7] = 0;
                }
              }
              else {
                localArrayList3.add(locald1);
              }
            }
            locald1 = locald1.i();
            if (!bool1) {
              break label296;
            }
            if (bool2) {
              break label692;
            }
          } while (bool2);
          int i5;
          double d1;
          if (localArrayList1.size() > 0)
          {
            localArrayList1.toArray(arrayOfd);
            l.a(arrayOfd, 0, localArrayList1.size(), localp_2);
            i5 = 0;
            d1 = -1.797693134862316E+308D;
            i9 = 0;
            do
            {
              if (i9 >= localArrayList1.size()) {
                break;
              }
              locald3 = arrayOfd[i9];
              d3 = paramo.p(locald3).b;
              if (bool1) {
                break label695;
              }
              if (d3 != d1)
              {
                d1 = d3;
                i5 += i4;
              }
              paramArrayOfInt3[locald3.d()] = i5;
              i9++;
            } while (!bool1);
          }
          if (!bool2) {
            if (localArrayList2.size() > 0)
            {
              localArrayList2.toArray(arrayOfd);
              l.a(arrayOfd, 0, localArrayList2.size(), localp_2);
              i5 = 0;
              d1 = -1.797693134862316E+308D;
              i9 = localArrayList2.size() - 1;
              do
              {
                if (i9 < 0) {
                  break;
                }
                locald3 = arrayOfd[i9];
                d3 = paramo.p(locald3).b;
                if (bool1) {
                  break label811;
                }
                if (d3 != d1)
                {
                  d1 = d3;
                  i5 += i4;
                }
                paramArrayOfInt3[locald3.d()] = i5;
                i9--;
              } while (!bool1);
            }
          }
          if (!bool2)
          {
            if (localArrayList3.size() > 0)
            {
              localArrayList3.toArray(arrayOfd);
              l.a(arrayOfd, 0, localArrayList3.size(), localp_1);
              i5 = 0;
              d1 = -1.797693134862316E+308D;
              i9 = localArrayList3.size() - 1;
              do
              {
                if (i9 < 0) {
                  break;
                }
                locald3 = arrayOfd[i9];
                d3 = paramo.p(locald3).a;
                if (bool1) {
                  break label1339;
                }
                if (d3 != d1)
                {
                  d1 = d3;
                  i5 += i4;
                }
                paramArrayOfInt3[locald3.d()] = i5;
                i9--;
              } while (!bool1);
            }
            localArrayList1.clear();
            localArrayList2.clear();
          }
          localArrayList3.clear();
          if (bool2) {
            break;
          }
          a.c.d locald2 = locale.i();
          if (locald2 != null) {}
          do
          {
            int i8 = locald2.d();
            localcd = parambc.a(locald2).f();
            if (bool1) {
              break;
            }
            if (localcd != null)
            {
              if (bool2) {
                break label1013;
              }
              if (!localcd.g()) {}
            }
            else
            {
              paramArrayOfByte2[i8] = -2;
              if (bool2) {
                break label1205;
              }
              if (!bool1) {
                break label1196;
              }
            }
            if ((bool2) || (localcd != null))
            {
              if (!bool2) {
                if (!localcd.a())
                {
                  if (!bool2) {
                    if (localcd.e())
                    {
                      paramArrayOfByte2[i8] = 1;
                      if (bool2) {
                        break label1205;
                      }
                      if (!bool1) {
                        break label1196;
                      }
                    }
                  }
                  if (!bool2)
                  {
                    if (localcd.f())
                    {
                      paramArrayOfByte2[i8] = -1;
                      if (bool2) {
                        break label1205;
                      }
                      if (!bool1) {
                        break label1196;
                      }
                    }
                    paramArrayOfByte2[i8] = 0;
                  }
                  if (bool2) {
                    break label1205;
                  }
                  if (!bool1) {
                    break label1196;
                  }
                }
              }
              if (!bool2) {
                if (localcd.e())
                {
                  paramArrayOfByte2[i8] = 1;
                  localArrayList1.add(locald2);
                  if (bool2) {
                    break label1205;
                  }
                  if (!bool1) {
                    break label1196;
                  }
                }
              }
              if (!bool2)
              {
                if (localcd.f())
                {
                  paramArrayOfByte2[i8] = -1;
                  localArrayList2.add(locald2);
                  if (bool2) {
                    break label1205;
                  }
                  if (!bool1) {}
                }
                else
                {
                  paramArrayOfByte2[i8] = 0;
                }
              }
              else {
                localArrayList3.add(locald2);
              }
            }
            locald2 = locald2.j();
            if (!bool1) {
              break label944;
            }
            if (bool2) {
              break label1336;
            }
          } while (bool2);
          if (localArrayList1.size() > 0)
          {
            localArrayList1.toArray(arrayOfd);
            l.a(arrayOfd, 0, localArrayList1.size(), localp_4);
            i6 = 0;
            d2 = -1.797693134862316E+308D;
            i9 = localArrayList1.size() - 1;
            do
            {
              if (i9 < 0) {
                break;
              }
              locald3 = arrayOfd[i9];
              d3 = paramo.q(locald3).b;
              if (bool1) {
                break label1339;
              }
              if (d3 != d2)
              {
                d2 = d3;
                i6 += i4;
              }
              paramArrayOfInt4[locald3.d()] = i6;
              i9--;
            } while (!bool1);
          }
          if (!bool2) {
            if (localArrayList2.size() > 0)
            {
              localArrayList2.toArray(arrayOfd);
              l.a(arrayOfd, 0, localArrayList2.size(), localp_4);
              i6 = 0;
              d2 = -1.797693134862316E+308D;
              i9 = 0;
              do
              {
                if (i9 >= localArrayList2.size()) {
                  break;
                }
                locald3 = arrayOfd[i9];
                d3 = paramo.q(locald3).b;
                if (bool1) {
                  break label1454;
                }
                if (d3 != d2)
                {
                  d2 = d3;
                  i6 += i4;
                }
                paramArrayOfInt4[locald3.d()] = i6;
                i9++;
              } while (!bool1);
            }
          }
        } while (bool2);
        if (localArrayList3.size() > 0)
        {
          localArrayList3.toArray(arrayOfd);
          l.a(arrayOfd, 0, localArrayList3.size(), localp_3);
          i6 = 0;
          d2 = -1.797693134862316E+308D;
          i9 = localArrayList3.size() - 1;
          do
          {
            if (i9 < 0) {
              break label1560;
            }
            locald3 = arrayOfd[i9];
            d3 = paramo.q(locald3).a;
            if (bool1) {
              break;
            }
            if (d3 != d2)
            {
              d2 = d3;
              i6 += i4;
            }
            paramArrayOfInt4[locald3.d()] = i6;
            i9--;
          } while (!bool1);
        }
        localv = localv.a();
        i2++;
        if (bool2) {
          break;
        }
      } while (!bool1);
      if (!bool2) {
        i1++;
      }
    } while (!bool1);
    label553:
    label562:
    label692:
    label695:
    label1336:
    label1339:
    return a(paramArrayOfInt1, paramArrayOfInt2, paramArrayOfByte1, paramArrayOfInt3, paramArrayOfByte2, paramArrayOfInt4, paramByte1, paramByte2);
  }
  
  public static cc a(int[] paramArrayOfInt, Comparator paramComparator1, Comparator paramComparator2, Comparator paramComparator3, Comparator paramComparator4, Comparator paramComparator5, Comparator paramComparator6)
  {
    return new cc(paramArrayOfInt, paramComparator1, paramComparator2, paramComparator3, paramComparator5, paramComparator4, paramComparator6);
  }
  
  private cc(int[] paramArrayOfInt, Comparator paramComparator1, Comparator paramComparator2, Comparator paramComparator3, Comparator paramComparator4, Comparator paramComparator5, Comparator paramComparator6)
  {
    this.e = paramComparator1;
    this.k = paramArrayOfInt;
    this.f = paramComparator2;
    this.g = paramComparator3;
    this.h = paramComparator5;
    this.i = paramComparator4;
    this.j = paramComparator6;
  }
  
  public Comparator a(boolean paramBoolean)
  {
    if (paramBoolean) {
      return new e_(this.k, this.f, this.g, this.i);
    }
    return new k_(this.k, this.f, this.h, this.j);
  }
  
  public Comparator c(boolean paramBoolean)
  {
    if (paramBoolean) {
      return new c_(this.k, this.e, this.f, this.g, this.i, this.h, this.j);
    }
    return new o_(this.k, this.e, this.f, this.h, this.j, this.g, this.i);
  }
  
  public Comparator e(boolean paramBoolean)
  {
    if (paramBoolean) {
      return new b_(this.k, this.e, this.f, this.g, this.i, this.h, this.j);
    }
    return new m_(this.k, this.e, this.f, this.h, this.j, this.g, this.i);
  }
  
  static final class a_
    implements Comparator
  {
    private final bc a;
    private final o c;
    private final ac e;
    
    public a_(o paramo, ac paramac, bc parambc)
    {
      this.c = paramo;
      this.a = parambc;
      this.e = paramac;
    }
    
    final float a(a.c.d paramd)
    {
      boolean bool2 = d.R;
      boolean bool1 = d.Q;
      cd localcd = this.a.a(paramd).f();
      w localw = this.c.q(paramd);
      float f;
      if ((bool2) || (localcd != null))
      {
        if (bool2) {
          break label82;
        }
        if (!localcd.g()) {}
      }
      else
      {
        f = (float)(localw.a / 10000.0D);
        if (bool2) {
          break label205;
        }
        if (!bool1) {
          break label187;
        }
      }
      switch (localcd.b())
      {
      case 4: 
        f = 0.3F + (float)(localw.b / 10000.0D);
        if (!bool2) {
          if (!bool1) {
            break;
          }
        }
        break;
      case 8: 
        f = -0.3F - (float)(localw.b / 10000.0D);
        if (!bool2) {
          if (!bool1) {
            break;
          }
        }
        break;
      case 1: 
      case 2: 
      case 3: 
      case 5: 
      case 6: 
      case 7: 
      default: 
        label82:
        f = (float)(localw.a / 10000.0D);
      }
      label187:
      label205:
      return this.a.a(paramd.f()).i() + f;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      a.c.d locald1 = (a.c.d)paramObject1;
      a.c.d locald2 = (a.c.d)paramObject2;
      int i = this.a.a(locald1.e()).d();
      if (!bool)
      {
        if (i != 12)
        {
          if (bool) {
            break label224;
          }
          if (i != 13) {
            break label210;
          }
        }
        if (bool) {
          break label73;
        }
      }
      label73:
      int j = i == 12 ? 1 : 0;
      ec localec1 = this.a.a(locald1.f());
      ec localec2 = this.a.a(locald2.f());
      if (!bool)
      {
        if (i == localec1.d())
        {
          if (bool) {
            break label174;
          }
          if (i != localec2.d())
          {
            if (!bool) {}
            return j != 0 ? 1 : -1;
          }
        }
        if (bool) {
          break label224;
        }
      }
      if (i != localec1.d())
      {
        label174:
        if (bool) {
          break label224;
        }
        if (i == localec2.d())
        {
          if (!bool) {}
          return j != 0 ? -1 : 1;
        }
      }
      label210:
      label224:
      return l.a(a(locald1), a(locald2));
    }
  }
  
  static final class n_
    implements Comparator
  {
    private final float[] a;
    
    public n_(o paramo, ac paramac, bc parambc)
    {
      this.a = new float[paramo.m()];
      int i = 0;
      label168:
      label306:
      label334:
      do
      {
        if (i >= paramac.a()) {
          break;
        }
        vb localvb = paramac.a(i);
        int j = 0;
        v localv = localvb.c().f();
        do
        {
          if (localv == null) {
            break;
          }
          e locale = (e)localv.c();
          do
          {
            if (bool1) {
              break label334;
            }
            a.c.d locald = locale.i();
            do
            {
              if (locald == null) {
                break label306;
              }
              cd localcd = parambc.a(locald).f();
              w localw = paramo.q(locald);
              if (bool1) {
                break;
              }
              float f;
              if (localcd != null)
              {
                if (bool2) {
                  break label168;
                }
                if (!localcd.g()) {}
              }
              else
              {
                f = (float)(localw.a / 10000.0D);
                if (bool2) {
                  continue;
                }
                if (!bool1) {
                  break label278;
                }
              }
              switch (localcd.b())
              {
              case 4: 
                f = 0.3F + (float)(localw.b / 10000.0D);
                if (bool2) {
                  continue;
                }
                if (!bool1) {
                  break;
                }
              case 8: 
                f = -0.3F - (float)(localw.b / 10000.0D);
                if (bool2) {
                  continue;
                }
                if (!bool1) {
                  break;
                }
              case 1: 
              case 2: 
              case 3: 
              case 5: 
              case 6: 
              case 7: 
              default: 
                f = (float)(localw.a / 10000.0D);
              }
              this.a[locald.d()] = (j + f);
              locald = locald.j();
            } while (!bool1);
            localv = localv.a();
            j++;
          } while (bool2);
        } while (!bool1);
        if (!bool2) {
          i++;
        }
      } while (!bool1);
      label278:
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      return l.a(this.a[((a.c.d)paramObject1).d()], this.a[((a.c.d)paramObject2).d()]);
    }
  }
  
  static final class l_
    implements Comparator
  {
    private final bc a;
    private final o c;
    private final ac e;
    
    public l_(o paramo, ac paramac, bc parambc)
    {
      this.c = paramo;
      this.a = parambc;
      this.e = paramac;
    }
    
    final float a(a.c.d paramd)
    {
      boolean bool2 = d.R;
      boolean bool1 = d.Q;
      cd localcd = this.a.a(paramd).d();
      w localw = this.c.p(paramd);
      float f;
      if ((bool2) || (localcd != null))
      {
        if (bool2) {
          break label82;
        }
        if (!localcd.g()) {}
      }
      else
      {
        f = (float)(localw.a / 10000.0D);
        if (bool2) {
          break label205;
        }
        if (!bool1) {
          break label187;
        }
      }
      switch (localcd.b())
      {
      case 4: 
        f = 0.3F - (float)(localw.b / 10000.0D);
        if (!bool2) {
          if (!bool1) {
            break;
          }
        }
        break;
      case 8: 
        f = -0.3F + (float)(localw.b / 10000.0D);
        if (!bool2) {
          if (!bool1) {
            break;
          }
        }
        break;
      case 1: 
      case 2: 
      case 3: 
      case 5: 
      case 6: 
      case 7: 
      default: 
        label82:
        f = (float)(localw.a / 10000.0D);
      }
      label187:
      label205:
      return this.a.a(paramd.e()).i() + f;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      a.c.d locald1 = (a.c.d)paramObject1;
      a.c.d locald2 = (a.c.d)paramObject2;
      int i = this.a.a(locald1.f()).d();
      if (!bool)
      {
        if (i != 12)
        {
          if (bool) {
            break label224;
          }
          if (i != 13) {
            break label210;
          }
        }
        if (bool) {
          break label73;
        }
      }
      label73:
      int j = i == 12 ? 1 : 0;
      ec localec1 = this.a.a(locald1.e());
      ec localec2 = this.a.a(locald2.e());
      if (!bool)
      {
        if (i == localec1.d())
        {
          if (bool) {
            break label174;
          }
          if (i != localec2.d())
          {
            if (!bool) {}
            return j != 0 ? -1 : 1;
          }
        }
        if (bool) {
          break label224;
        }
      }
      if (i != localec1.d())
      {
        label174:
        if (bool) {
          break label224;
        }
        if (i == localec2.d())
        {
          if (!bool) {}
          return j != 0 ? 1 : -1;
        }
      }
      label210:
      label224:
      return l.a(a(locald1), a(locald2));
    }
  }
  
  static final class s_
    implements Comparator
  {
    private final float[] a;
    
    public s_(o paramo, ac paramac, bc parambc)
    {
      this.a = new float[paramo.m()];
      int i = 0;
      label168:
      label306:
      label334:
      do
      {
        if (i >= paramac.a()) {
          break;
        }
        vb localvb = paramac.a(i);
        int j = 0;
        v localv = localvb.c().f();
        do
        {
          if (localv == null) {
            break;
          }
          e locale = (e)localv.c();
          do
          {
            if (bool1) {
              break label334;
            }
            a.c.d locald = locale.h();
            do
            {
              if (locald == null) {
                break label306;
              }
              cd localcd = parambc.a(locald).d();
              w localw = paramo.p(locald);
              if (bool1) {
                break;
              }
              float f;
              if (localcd != null)
              {
                if (bool2) {
                  break label168;
                }
                if (!localcd.g()) {}
              }
              else
              {
                f = (float)(localw.a / 10000.0D);
                if (bool2) {
                  continue;
                }
                if (!bool1) {
                  break label278;
                }
              }
              switch (localcd.b())
              {
              case 4: 
                f = 0.3F - (float)(localw.b / 10000.0D);
                if (bool2) {
                  continue;
                }
                if (!bool1) {
                  break;
                }
              case 8: 
                f = -0.3F + (float)(localw.b / 10000.0D);
                if (bool2) {
                  continue;
                }
                if (!bool1) {
                  break;
                }
              case 1: 
              case 2: 
              case 3: 
              case 5: 
              case 6: 
              case 7: 
              default: 
                f = (float)(localw.a / 10000.0D);
              }
              this.a[locald.d()] = (j + f);
              locald = locald.i();
            } while (!bool1);
            localv = localv.a();
            j++;
          } while (bool2);
        } while (!bool1);
        if (!bool2) {
          i++;
        }
      } while (!bool1);
      label278:
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      return l.a(this.a[((a.c.d)paramObject1).d()], this.a[((a.c.d)paramObject2).d()]);
    }
  }
  
  static final class p_
    implements Comparator
  {
    boolean a;
    boolean c;
    o d;
    
    p_(o paramo, boolean paramBoolean1, boolean paramBoolean2)
    {
      this.a = paramBoolean1;
      this.d = paramo;
      this.c = paramBoolean2;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      a.c.d locald1 = (a.c.d)paramObject2;
      a.c.d locald2 = (a.c.d)paramObject1;
      if (!bool) {
        if (this.a)
        {
          if (!bool) {
            if (this.c) {
              return l.a(this.d.p(locald1).a, this.d.p(locald2).a);
            }
          }
          return l.a(this.d.p(locald1).b, this.d.p(locald2).b);
        }
      }
      if (!bool) {
        if (this.c) {
          return l.a(this.d.q(locald1).a, this.d.q(locald2).a);
        }
      }
      return l.a(this.d.q(locald1).b, this.d.q(locald2).b);
    }
  }
  
  static final class i_
    implements Comparator
  {
    final int[] a;
    
    i_(int[] paramArrayOfInt)
    {
      this.a = paramArrayOfInt;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      int i = this.a[((e)paramObject1).f()];
      int j = this.a[((e)paramObject2).f()];
      if (!bool) {
        if (i < 0) {
          i = -(i + 1);
        }
      }
      if (!bool) {
        if (j < 0) {
          j = -(j + 1);
        }
      }
      return l.a(i, j);
    }
  }
  
  static final class d_
    implements Comparator
  {
    final int[] a;
    
    d_(int[] paramArrayOfInt)
    {
      this.a = paramArrayOfInt;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      int i = this.a[((a.c.d)paramObject1).d()];
      int j = this.a[((a.c.d)paramObject2).d()];
      if (!bool) {
        if (i <= 0)
        {
          if (!bool) {
            if (j <= 0) {
              return 0;
            }
          }
          return 1;
        }
      }
      if (!bool) {
        if (j <= 0) {
          return -1;
        }
      }
      return l.a(i, j);
    }
  }
  
  static final class t_
    implements Comparator
  {
    final int[] a;
    
    t_(int[] paramArrayOfInt)
    {
      this.a = paramArrayOfInt;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      int i = this.a[((a.c.d)paramObject1).d()];
      int j = this.a[((a.c.d)paramObject2).d()];
      if (!bool) {
        if (i <= 0)
        {
          if (!bool) {
            if (j <= 0) {
              return 0;
            }
          }
          return -1;
        }
      }
      if (!bool) {
        if (j <= 0) {
          return 1;
        }
      }
      return l.a(i, j);
    }
  }
  
  static final class q_
    implements Comparator
  {
    final int[] a;
    
    q_(int[] paramArrayOfInt)
    {
      this.a = paramArrayOfInt;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      int i = this.a[((a.c.d)paramObject1).d()];
      int j = this.a[((a.c.d)paramObject2).d()];
      if (!bool) {
        if (i > 0)
        {
          if (bool) {
            break label59;
          }
          if (j > 0) {
            break label53;
          }
        }
      }
      return 0;
      label53:
      label59:
      return l.a(i, j);
    }
  }
  
  static final class r_
    implements Comparator
  {
    final byte[] a;
    
    r_(byte[] paramArrayOfByte)
    {
      this.a = paramArrayOfByte;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      int i = this.a[((a.c.d)paramObject1).d()];
      int j = this.a[((a.c.d)paramObject2).d()];
      if (!bool) {
        if (i == -2)
        {
          if (!bool) {
            if (j == -2) {
              return 0;
            }
          }
          return l.a(0, j);
        }
      }
      if (!bool) {
        if (j == -2) {
          return l.a(i, 0);
        }
      }
      return l.a(i, j);
    }
  }
  
  static final class h_
    implements Comparator
  {
    final byte[] a;
    
    h_(byte[] paramArrayOfByte)
    {
      this.a = paramArrayOfByte;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      int i = this.a[((a.c.d)paramObject1).d()];
      int j = this.a[((a.c.d)paramObject2).d()];
      if (!bool) {
        if (i == -2)
        {
          if (!bool) {
            if (j == -2) {
              return 0;
            }
          }
          return 1;
        }
      }
      if (!bool) {
        if (j == -2) {
          return -1;
        }
      }
      return l.a(i, j);
    }
  }
  
  static final class f_
    implements Comparator
  {
    final byte[] a;
    
    f_(byte[] paramArrayOfByte)
    {
      this.a = paramArrayOfByte;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      int i = this.a[((a.c.d)paramObject1).d()];
      int j = this.a[((a.c.d)paramObject2).d()];
      if (!bool) {
        if (i == -2)
        {
          if (!bool) {
            if (j == -2) {
              return 0;
            }
          }
          return -1;
        }
      }
      if (!bool) {
        if (j == -2) {
          return 1;
        }
      }
      return l.a(i, j);
    }
  }
  
  static final class g_
    implements Comparator, l.j_
  {
    final byte[] a;
    
    g_(byte[] paramArrayOfByte)
    {
      this.a = paramArrayOfByte;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      int i = this.a[((a.c.d)paramObject1).d()];
      int j = this.a[((a.c.d)paramObject2).d()];
      if (!bool) {
        if (i != -2)
        {
          if (bool) {
            break label60;
          }
          if (j != -2) {
            break label57;
          }
        }
      }
      return 0;
      label57:
      label60:
      return l.a(i, j);
    }
  }
  
  static final class j_
    implements Comparator
  {
    final int[] a;
    
    j_(int[] paramArrayOfInt)
    {
      this.a = paramArrayOfInt;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      return l.a(this.a[((e)paramObject1).f()], this.a[((e)paramObject2).f()]);
    }
  }
  
  static final class m_
    implements Comparator, l.j_
  {
    private final Comparator a;
    private final Comparator b;
    private final Comparator c;
    private final Comparator d;
    private final Comparator e;
    private Comparator f;
    private final int[] g;
    
    m_(int[] paramArrayOfInt, Comparator paramComparator1, Comparator paramComparator2, Comparator paramComparator3, Comparator paramComparator4, Comparator paramComparator5, Comparator paramComparator6)
    {
      this.g = paramArrayOfInt;
      this.a = paramComparator1;
      this.b = paramComparator2;
      this.c = paramComparator3;
      this.d = paramComparator4;
      this.f = paramComparator6;
      this.e = paramComparator5;
    }
    
    Comparator a()
    {
      return this.f;
    }
    
    void a(Comparator paramComparator)
    {
      this.f = paramComparator;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      a.c.d locald1 = (a.c.d)paramObject1;
      a.c.d locald2 = (a.c.d)paramObject2;
      e locale1 = locald1.f();
      e locale2 = locald2.f();
      e locale3 = locald1.e();
      e locale4 = locald2.e();
      Object localObject;
      if (!bool) {
        if (this.g[locale3.f()] < 0)
        {
          if (!bool) {}
          localObject = locald1.i() == null ? locald1.k() : locald1.i();
          e locale5 = ((a.c.d)localObject).f();
          if (!bool) {
            if (this.g[locale4.f()] < 0)
            {
              if (!bool) {}
              a.c.d locald3 = locald2.i() == null ? locald2.k() : locald2.i();
              e locale6 = locald3.f();
              int m = this.b.compare(locale1, locale5);
              int n = this.b.compare(locale2, locale6);
              if (!bool) {
                if (m < 0)
                {
                  if (bool) {
                    break label222;
                  }
                  if (n <= 0) {
                    break label209;
                  }
                  return 1;
                }
              }
              if (!bool) {
                if (n < 0) {
                  return -1;
                }
              }
              label209:
              label222:
              int i1 = this.b.compare(locale6, locale5);
              if (!bool) {
                if (i1 == 0)
                {
                  int i2 = this.c.compare(locald3, localObject);
                  if (!bool) {
                    if (i2 == 0)
                    {
                      int i3 = this.d.compare(locald3, localObject);
                      if (!bool) {
                        if (i3 == 0) {
                          return l.a(locale3.f(), locale4.f()) * m;
                        }
                      }
                      return i3;
                    }
                  }
                  return i2;
                }
              }
              return i1;
            }
          }
          return this.b.compare(locale5, locale1);
        }
      }
      if (!bool) {
        if (this.g[locale4.f()] < 0)
        {
          if (!bool) {}
          localObject = locald2.i() == null ? locald2.k().f() : locald2.i().f();
          return this.b.compare(locale2, localObject);
        }
      }
      int i = this.b.compare(locale3, locale4);
      if (!bool) {
        if (i == 0)
        {
          int j = this.e.compare(locald1, locald2);
          if (!bool) {
            if (j == 0)
            {
              int k = this.f.compare(locald1, locald2);
              if (!bool) {
                if (k == 0) {
                  return l.a(locald1.d(), locald2.d());
                }
              }
              return k;
            }
          }
          return j;
        }
      }
      return i;
    }
  }
  
  static final class o_
    implements Comparator, l.j_
  {
    private final Comparator a;
    private final Comparator b;
    private final Comparator c;
    private final Comparator d;
    private final Comparator e;
    private Comparator f;
    private final int[] g;
    
    o_(int[] paramArrayOfInt, Comparator paramComparator1, Comparator paramComparator2, Comparator paramComparator3, Comparator paramComparator4, Comparator paramComparator5, Comparator paramComparator6)
    {
      this.g = paramArrayOfInt;
      this.a = paramComparator1;
      this.b = paramComparator2;
      this.c = paramComparator3;
      this.d = paramComparator4;
      this.f = paramComparator6;
      this.e = paramComparator5;
    }
    
    public Comparator a()
    {
      return this.f;
    }
    
    public void a(Comparator paramComparator)
    {
      this.f = paramComparator;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      a.c.d locald1 = (a.c.d)paramObject1;
      a.c.d locald2 = (a.c.d)paramObject2;
      e locale1 = locald1.f();
      e locale2 = locald2.f();
      int i = this.c.compare(locald1, locald2);
      if (!bool) {
        if (i == 0)
        {
          int j = this.d.compare(locald1, locald2);
          if (!bool) {
            if (j == 0)
            {
              e locale3 = locald1.e();
              e locale4 = locald2.e();
              Object localObject;
              if (!bool) {
                if (this.g[locale3.f()] < 0)
                {
                  if (!bool) {}
                  localObject = locald1.i() == null ? locald1.k() : locald1.i();
                  e locale5 = ((a.c.d)localObject).f();
                  if (!bool) {
                    if (this.g[locale4.f()] < 0)
                    {
                      if (!bool) {}
                      a.c.d locald3 = locald2.i() == null ? locald2.k() : locald2.i();
                      e locale6 = locald3.f();
                      int i1 = this.b.compare(locale1, locale5);
                      int i2 = this.b.compare(locale2, locale6);
                      if (!bool) {
                        if (i1 < 0)
                        {
                          if (bool) {
                            break label270;
                          }
                          if (i2 <= 0) {
                            break label257;
                          }
                          return 1;
                        }
                      }
                      if (!bool) {
                        if (i2 < 0) {
                          return -1;
                        }
                      }
                      label257:
                      label270:
                      int i3 = this.b.compare(locale6, locale5);
                      if (!bool) {
                        if (i3 == 0)
                        {
                          int i4 = this.c.compare(locald3, localObject);
                          if (!bool) {
                            if (i4 == 0)
                            {
                              int i5 = this.d.compare(locald3, localObject);
                              if (!bool) {
                                if (i5 == 0) {
                                  return l.a(locale3.f(), locale4.f()) * i1;
                                }
                              }
                              return i5;
                            }
                          }
                          return i4;
                        }
                      }
                      return i3;
                    }
                  }
                  return this.b.compare(locale5, locale1);
                }
              }
              if (!bool) {
                if (this.g[locale4.f()] < 0)
                {
                  if (!bool) {}
                  localObject = locald2.i() == null ? locald2.k().f() : locald2.i().f();
                  return this.b.compare(locale2, localObject);
                }
              }
              int k = this.b.compare(locale3, locale4);
              if (!bool) {
                if (k == 0)
                {
                  int m = this.e.compare(locald1, locald2);
                  if (!bool) {
                    if (m == 0)
                    {
                      int n = this.f.compare(locald1, locald2);
                      if (!bool) {
                        if (n == 0) {
                          return l.a(locald1.d(), locald2.d());
                        }
                      }
                      return n;
                    }
                  }
                  return m;
                }
              }
              return k;
            }
          }
          return j;
        }
      }
      return i;
    }
  }
  
  static final class k_
    implements Comparator, l.j_
  {
    final Comparator a;
    final Comparator b;
    final Comparator c;
    final int[] d;
    
    k_(int[] paramArrayOfInt, Comparator paramComparator1, Comparator paramComparator2, Comparator paramComparator3)
    {
      this.d = paramArrayOfInt;
      this.a = paramComparator1;
      this.b = paramComparator2;
      this.c = paramComparator3;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      a.c.d locald1 = (a.c.d)paramObject1;
      a.c.d locald2 = (a.c.d)paramObject2;
      e locale1 = locald1.f();
      e locale2 = locald2.f();
      if (locale1 == locale2)
      {
        int i = this.b.compare(locald1, locald2);
        if (!bool) {
          if (i == 0) {
            return this.c.compare(locald1, locald2);
          }
        }
        return i;
      }
      Object localObject;
      if (!bool) {
        if (this.d[locale1.f()] < 0)
        {
          if (!bool) {}
          localObject = locald1.j() == null ? locald1.l() : locald1.j();
          e locale3 = ((a.c.d)localObject).e();
          if (!bool) {
            if (this.d[locale2.f()] < 0)
            {
              if (!bool) {}
              a.c.d locald3 = locald2.j() == null ? locald2.l() : locald2.j();
              e locale4 = locald3.e();
              int j = this.a.compare(locald1.e(), locale3);
              int k = this.a.compare(locald2.e(), locale4);
              if (!bool) {
                if (j < 0)
                {
                  if (bool) {
                    break label261;
                  }
                  if (k <= 0) {
                    break label248;
                  }
                  return 1;
                }
              }
              if (!bool) {
                if (k < 0) {
                  return -1;
                }
              }
              label248:
              int m = this.a.compare(locale4, locale3);
              label261:
              if (!bool) {
                if (m == 0)
                {
                  int n = this.b.compare(locald3, localObject);
                  if (!bool) {
                    if (n == 0)
                    {
                      int i1 = this.c.compare(locald3, localObject);
                      if (!bool) {
                        if (i1 == 0) {
                          return l.a(locale1.f(), locale2.f()) * j;
                        }
                      }
                      return i1;
                    }
                  }
                  return n;
                }
              }
              return m;
            }
          }
          return this.a.compare(locale3, locald1.e());
        }
      }
      if (!bool) {
        if (this.d[locale2.f()] < 0)
        {
          if (!bool) {}
          localObject = locald2.j() == null ? locald2.l().e() : locald2.j().e();
          return this.a.compare(locald2.e(), localObject);
        }
      }
      return this.a.compare(locale1, locale2);
    }
  }
  
  static final class b_
    implements Comparator, l.j_
  {
    private final Comparator a;
    private final Comparator b;
    private final Comparator c;
    private final Comparator d;
    private final Comparator e;
    private Comparator f;
    private final int[] g;
    
    b_(int[] paramArrayOfInt, Comparator paramComparator1, Comparator paramComparator2, Comparator paramComparator3, Comparator paramComparator4, Comparator paramComparator5, Comparator paramComparator6)
    {
      this.g = paramArrayOfInt;
      this.a = paramComparator1;
      this.b = paramComparator2;
      this.c = paramComparator3;
      this.d = paramComparator4;
      this.f = paramComparator6;
      this.e = paramComparator5;
    }
    
    Comparator a()
    {
      return this.f;
    }
    
    void a(Comparator paramComparator)
    {
      this.f = paramComparator;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      a.c.d locald1 = (a.c.d)paramObject1;
      a.c.d locald2 = (a.c.d)paramObject2;
      e locale1 = locald1.e();
      e locale2 = locald2.e();
      e locale3 = locald1.f();
      e locale4 = locald2.f();
      Object localObject;
      if (!bool) {
        if (this.g[locale3.f()] < 0)
        {
          if (!bool) {}
          localObject = locald1.j() == null ? locald1.l() : locald1.j();
          e locale5 = ((a.c.d)localObject).e();
          if (!bool) {
            if (this.g[locale4.f()] < 0)
            {
              if (!bool) {}
              a.c.d locald3 = locald2.j() == null ? locald2.l() : locald2.j();
              e locale6 = locald3.e();
              int m = this.b.compare(locale1, locale5);
              int n = this.b.compare(locale2, locale6);
              if (!bool) {
                if (m < 0)
                {
                  if (bool) {
                    break label222;
                  }
                  if (n <= 0) {
                    break label209;
                  }
                  return 1;
                }
              }
              if (!bool) {
                if (n < 0) {
                  return -1;
                }
              }
              label209:
              label222:
              int i1 = this.b.compare(locale6, locale5);
              if (!bool) {
                if (i1 == 0)
                {
                  int i2 = this.c.compare(locald3, localObject);
                  if (!bool) {
                    if (i2 == 0)
                    {
                      int i3 = this.d.compare(locald3, localObject);
                      if (!bool) {
                        if (i3 == 0) {
                          return l.a(locale3.f(), locale4.f()) * m;
                        }
                      }
                      return i3;
                    }
                  }
                  return i2;
                }
              }
              return i1;
            }
          }
          return this.b.compare(locale5, locale1);
        }
      }
      if (!bool) {
        if (this.g[locale4.f()] < 0)
        {
          if (!bool) {}
          localObject = locald2.j() == null ? locald2.l().e() : locald2.j().e();
          return this.b.compare(locale2, localObject);
        }
      }
      int i = this.b.compare(locale3, locale4);
      if (!bool) {
        if (i == 0)
        {
          int j = this.e.compare(locald1, locald2);
          if (!bool) {
            if (j == 0)
            {
              int k = this.f.compare(locald1, locald2);
              if (!bool) {
                if (k == 0) {
                  return l.a(locald1.d(), locald2.d());
                }
              }
              return k;
            }
          }
          return j;
        }
      }
      return i;
    }
  }
  
  static final class c_
    implements Comparator, l.j_
  {
    private final Comparator a;
    private final Comparator b;
    private final Comparator c;
    private final Comparator d;
    private final Comparator e;
    private Comparator f;
    private final int[] g;
    
    c_(int[] paramArrayOfInt, Comparator paramComparator1, Comparator paramComparator2, Comparator paramComparator3, Comparator paramComparator4, Comparator paramComparator5, Comparator paramComparator6)
    {
      this.g = paramArrayOfInt;
      this.a = paramComparator1;
      this.b = paramComparator2;
      this.c = paramComparator3;
      this.d = paramComparator4;
      this.f = paramComparator6;
      this.e = paramComparator5;
    }
    
    public Comparator a()
    {
      return this.f;
    }
    
    public void a(Comparator paramComparator)
    {
      this.f = paramComparator;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      a.c.d locald1 = (a.c.d)paramObject1;
      a.c.d locald2 = (a.c.d)paramObject2;
      e locale1 = locald1.e();
      e locale2 = locald2.e();
      int i = this.c.compare(locald1, locald2);
      if (!bool) {
        if (i == 0)
        {
          int j = this.d.compare(locald1, locald2);
          if (!bool) {
            if (j == 0)
            {
              e locale3 = locald1.f();
              e locale4 = locald2.f();
              Object localObject;
              if (!bool) {
                if (this.g[locale3.f()] < 0)
                {
                  if (!bool) {}
                  localObject = locald1.j() == null ? locald1.l() : locald1.j();
                  e locale5 = ((a.c.d)localObject).e();
                  if (!bool) {
                    if (this.g[locale4.f()] < 0)
                    {
                      if (!bool) {}
                      a.c.d locald3 = locald2.j() == null ? locald2.l() : locald2.j();
                      e locale6 = locald3.e();
                      int i1 = this.b.compare(locale1, locale5);
                      int i2 = this.b.compare(locale2, locale6);
                      if (!bool) {
                        if (i1 < 0)
                        {
                          if (bool) {
                            break label270;
                          }
                          if (i2 <= 0) {
                            break label257;
                          }
                          return 1;
                        }
                      }
                      if (!bool) {
                        if (i2 < 0) {
                          return -1;
                        }
                      }
                      label257:
                      label270:
                      int i3 = this.b.compare(locale6, locale5);
                      if (!bool) {
                        if (i3 == 0)
                        {
                          int i4 = this.c.compare(locald3, localObject);
                          if (!bool) {
                            if (i4 == 0)
                            {
                              int i5 = this.d.compare(locald3, localObject);
                              if (!bool) {
                                if (i5 == 0) {
                                  return l.a(locale3.f(), locale4.f()) * i1;
                                }
                              }
                              return i5;
                            }
                          }
                          return i4;
                        }
                      }
                      return i3;
                    }
                  }
                  return this.b.compare(locale5, locale1);
                }
              }
              if (!bool) {
                if (this.g[locale4.f()] < 0)
                {
                  if (!bool) {}
                  localObject = locald2.j() == null ? locald2.l().e() : locald2.j().e();
                  return this.b.compare(locale2, localObject);
                }
              }
              int k = this.b.compare(locale3, locale4);
              if (!bool) {
                if (k == 0)
                {
                  int m = this.e.compare(locald1, locald2);
                  if (!bool) {
                    if (m == 0)
                    {
                      int n = this.f.compare(locald1, locald2);
                      if (!bool) {
                        if (n == 0) {
                          return l.a(locald1.d(), locald2.d());
                        }
                      }
                      return n;
                    }
                  }
                  return m;
                }
              }
              return k;
            }
          }
          return j;
        }
      }
      return i;
    }
  }
  
  static final class e_
    implements Comparator, l.j_
  {
    final int[] a;
    final Comparator b;
    final Comparator c;
    final Comparator d;
    
    e_(int[] paramArrayOfInt, Comparator paramComparator1, Comparator paramComparator2, Comparator paramComparator3)
    {
      this.a = paramArrayOfInt;
      this.b = paramComparator1;
      this.c = paramComparator2;
      this.d = paramComparator3;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      boolean bool = d.R;
      a.c.d locald1 = (a.c.d)paramObject1;
      a.c.d locald2 = (a.c.d)paramObject2;
      e locale1 = locald1.e();
      e locale2 = locald2.e();
      if (locale1 == locale2)
      {
        int i = this.c.compare(locald1, locald2);
        if (!bool) {
          if (i == 0) {
            return this.d.compare(locald1, locald2);
          }
        }
        return i;
      }
      Object localObject;
      if (!bool) {
        if (this.a[locale1.f()] < 0)
        {
          if (!bool) {}
          localObject = locald1.i() == null ? locald1.k() : locald1.i();
          e locale3 = ((a.c.d)localObject).f();
          if (!bool) {
            if (this.a[locale2.f()] < 0)
            {
              if (!bool) {}
              a.c.d locald3 = locald2.i() == null ? locald2.k() : locald2.i();
              e locale4 = locald3.f();
              int j = this.b.compare(locald1.f(), locale3);
              int k = this.b.compare(locald2.f(), locale4);
              if (!bool) {
                if (j < 0)
                {
                  if (bool) {
                    break label261;
                  }
                  if (k <= 0) {
                    break label248;
                  }
                  return 1;
                }
              }
              if (!bool) {
                if (k < 0) {
                  return -1;
                }
              }
              label248:
              int m = this.b.compare(locale4, locale3);
              label261:
              if (!bool) {
                if (m == 0)
                {
                  int n = this.c.compare(locald3, localObject);
                  if (!bool) {
                    if (n == 0)
                    {
                      int i1 = this.d.compare(locald3, localObject);
                      if (!bool) {
                        if (i1 == 0) {
                          return l.a(locale1.f(), locale2.f()) * j;
                        }
                      }
                      return i1;
                    }
                  }
                  return n;
                }
              }
              return m;
            }
          }
          return this.b.compare(locale3, locald1.f());
        }
      }
      if (!bool) {
        if (this.a[locale2.f()] < 0)
        {
          if (!bool) {}
          localObject = locald2.i() == null ? locald2.k().f() : locald2.i().f();
          return this.b.compare(locald2.f(), localObject);
        }
      }
      return this.b.compare(locale1, locale2);
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.d.a.cc

 * JD-Core Version:    0.7.0.1

 */